package co.yixiang.yshop.module.system.controller.admin.captcha.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 图片选择验证码获取 Response VO
 *
 * @author yshop
 */
@Schema(description = "管理后台 - 图片选择验证码获取 Response VO")
@Data
public class ImageCaptchaGetRespVO {

    @Schema(description = "验证码token", requiredMode = Schema.RequiredMode.REQUIRED)
    private String token;

    @Schema(description = "加密密钥", requiredMode = Schema.RequiredMode.REQUIRED)
    private String secretKey;

    @Schema(description = "目标分类", requiredMode = Schema.RequiredMode.REQUIRED)
    private String targetCategory;

    @Schema(description = "图片列表", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<ImageInfo> images;

    @Data
    @Schema(description = "图片信息")
    public static class ImageInfo {
        
        @Schema(description = "图片名称")
        private String name;
        
        @Schema(description = "图片URL")
        private String url;
        
        @Schema(description = "图片分类")
        private String category;
    }

}